#include "stdafx.h"
#include "RelatedFun.h"
#include <time.h>
#include <stdlib.h>

long WTB::GetClock(){
	long lMillisecond;
	//The clock() function returns the processor time since the program started, 
	//or -1 if that information is unavailable. To convert the return value to seconds, 
	//divide it by CLOCKS_PER_SEC. (Note: if your compiler is POSIX compliant, 
	//then CLOCKS_PER_SEC is always defined as 1000000.)
	//here CLOCKS_PER_SEC is 1000
	lMillisecond = clock();
	return lMillisecond;
}
